package org.cttic.visualization.visualization.controller;

import org.cttic.visualization.visualization.z_service.six.interactiveCountService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.CrossOrigin;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author shkstart
 * @create 2020-05-27 16:16
 * 2.6.3路网接口使用频率监控
 */
@RestController
@RequestMapping(value ="/interactive")
@CrossOrigin
public class interactiveCountController {
    @Autowired
    private interactiveCountService interactiveCountService;

    @RequestMapping(value = "/queryCount")
    public String interactiveInfo(@RequestBody String inputData){
        return interactiveCountService.interactiveCount(inputData);
    }
}
